'use strict';

angular.module('myApp.cdbRecord', ['ngRoute'])

    .config(['$routeProvider', function($routeProvider) {
        $routeProvider.when('/cdbRecord', {
            templateUrl: 'cdbRecord/cdbRecord.html',
            controller: 'cdbRecordCtrl'
        });
    }])

    .controller('cdbRecordCtrl',['lHTTP','lPop','$scope','$routeParams','$http',function(lHTTP,lPop,$scope,$routeParams,$http){
        gHttp = $http;
        console.log("state====="+$routeParams.state);
        $.iscorll();
        $.cdbRecord(lHTTP);
        //$.getSignature(lHTTP,$routeParams,lPop,$scope);
    }]);
